{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam at gmail D0T com>
  - http://heavyz.blogspot.com/
  - http://buggarden.blogspot.com/
  
  This file includes the Google Analytics tracking code (http://www.google.com/analytics/).

  Created on 2008-11-03.
  $Id: google_analytics.html 283 2008-11-19 18:20:18Z heavyzheng $
-->
{% endcomment %}

{% if g_analytics %}

  <!-- Begin of Google Analytics tracking code. -->
  
  <script type="text/javascript">//<![CDATA[
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  //]]></script>
  
  <script type="text/javascript">//<![CDATA[
  var pageTracker = _gat._getTracker("{{ g_analytics }}");
  pageTracker._trackPageview();
  //]]></script>
  
  <!-- End of Google Analytics tracking code. -->

{% endif %}


